package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Joe
 * Date: 25/06/13
 * Time: 4:04 PM
 * To change this template use File | Settings | File Templates.
 */
public final class Book {

    public final int id;
    public final String name;
    public final String author;

    public Book(int id, String name, String author) {
        this.id = id;
        this.name = name;
        this.author = author;
    }

    @Override
    public String toString() {
       return "ID:" + this.id + " = " + this.name + " by " + this.author;
    }
}
